Release 10.1A: OpenEdge Development:
Progress 4GL Handbook


NAME attribute

As you know, only static objects have names, so the NAME attribute only applies to static queries:

DEFINE VARIABLE hQuery AS HANDLE     NO-UNDO. 
DEFINE QUERY OrderCust FOR Order, Customer. 
hQuery = QUERY OrderCust:HANDLE. 
MESSAGE "This is a static query named " hQuery:NAME VIEW-AS ALERT-BOX. 

Figure 19–3 shows the result.

Figure 19–3: Name of static query message


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095